home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Frameworks / Extension Shell 1.4 / Extension Shell 1.4 (Source) / ExtensionShell.h < prev    next >
Text File  |  1995-10-30  |  1KB  |  74 lines

  1. /*    NAME:
  2.         ExtensionShell.h
  3.  
  4.     WRITTEN BY:
  5.         Dair Grant
  6.                 
  7.     DESCRIPTION:
  8.         Header file for ExtensionShell.c
  9.         
  10.     ___________________________________________________________________________
  11. */
  12. #ifndef __EXTENSIONSHELL__
  13. #define __EXTENSIONSHELL__
  14. //=============================================================================
  15. //        Include files
  16. //-----------------------------------------------------------------------------
  17. #include <QuickDraw.h>
  18. #include <Traps.h>
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34. //=============================================================================
  35. //        Defines
  36. //-----------------------------------------------------------------------------
  37. #define GrafSize                206                            // From IM I-209. Total QDraw storage
  38. #define ADD_GRAFSIZE            (GrafSize - 130)            // 130 bytes in shown fields
  39. #define kInitGrafTrap           _InitGraf                    // 0xA86E
  40. #define kUnimplementedTrap        _Unimplemented                // 0xA89F
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. //=============================================================================
  57. //        Structures
  58. //-----------------------------------------------------------------------------
  59. typedef struct    {
  60.     char            filler[ADD_GRAFSIZE];            // Internal QD storage
  61.     long            randSeed;
  62.     BitMap            screenBits;
  63.     Cursor            arrow;
  64.     Pattern            dkGray;
  65.     Pattern            ltGray;
  66.     Pattern            gray;
  67.     Pattern            black;
  68.     Pattern            white;
  69.     GrafPtr            thePort;
  70. } FakeQD;
  71.  
  72.  
  73. #endif
  74.